﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SCZS.Example.DTOModel
{
    public class Output<T> : Output where T : class
    {
        public T Data { get; set; }
    }
    public class Output
    {
        string _ErrorDomain;
        /// <summary>
        /// 状态
        /// </summary>
        public bool IsSuccess { get; set; } = true;
        /// <summary>
        /// 消息
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 错误编码
        /// </summary>
        public int? ErrorCode { get; set; } = 0;
        /// <summary>
        /// 错误域
        /// </summary>
        public string ErrorDomain { get; set; }
    }
}
